import type { FieldRule } from '@arco-design/web-vue';

export const name = [
    {
        required: true,
        message: '请输入字典名称',
    },
    {
        maxLength: 32,
        message: '字典名称长度不能大于32位',
    },
] as FieldRule[];
export const code = [
    {
        required: true,
        message: '请输入字典值',
    },
] as FieldRule[];
export default {
    name,
    code
} as Record<string, FieldRule | FieldRule[]>;
